home *** CD-ROM | disk | FTP | other *** search
- Path: news.paonline.com!usenet
- From: markd@quantum.net (Mark)
- Newsgroups: comp.lang.c++
- Subject: Re: NT talking to hardware?
- Date: Fri, 26 Jan 1996 19:45:18 GMT
- Organization: Pennsylvania Online [Usenet News Server for Hire]
- Message-ID: <4eba6h$nk4@news.paonline.com>
- References: <4e6o4g$evn@is05.micron.net>
- Reply-To: markd@quantum.net
- NNTP-Posting-Host: sl27.quantum.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- bblack@micron.net wrote:
-
- >Hello,
- > I need some help taking to an 8 bit driver card. The card was design to drive
- >a relay matrix for some testing at work. We had it running fine on window 3.1 and it
- >was decided that we should upgrade to a 32 bit operating system (NT) to increase our
- >speed for real time testing. I tried to recompile the DLL that we use to talk to the
- >driver card to 32 bit, but the compiler did not like the outp() function I was using to
- >write to data to the card. I am very new to C++ programming and this problem was
- >like running into a wall. I found out that outp() is a 16 bit function and is not portable
- >to NT. Does anyone know how I go about taking to hardware in a Windows NT
- >environment? Any help will be appreciated.
-
- For starters, you don't talk directly to hardware under NT. You must
- go through the HAL (hardware abstraction layer). If you don't already
- have it, you might want to get the book Inside Windows NT by Helen
- Custer. It has excellent information on NT's architecture.
-
-
-
-
-
-